body{
    height: 100%;
    margin: 0 10px;
    overflow: hidden;
}

.clear-fix:before,.clear-fix:after{
    display: table;
    content: '';
    clear: both;
}

.code_iframe{
    display: none;
}

.drawing{
    visibility: hidden;
    font-weight: bold;
    border: 1px solid #ccc;
    animation: drawingframe;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-delay: 1s;
    -webkit-animation: drawingframe 1s linear 1s;
}
@keyframes drawingframe
{
    from {opacity: 0;}
    to {opacity: 1;}
}
@-webkit-keyframes drawingframe
{
    from {opacity: 0;}
    to {opacity: 1;}
}

.node g{
    cursor: pointer;
}

.node circle {
    fill: #fff;
    stroke: steelblue;
    stroke-width: 1.5px;
}

.node line{
    fill: #fff;
    stroke: steelblue;
    stroke-width: 1.5px;
}

.link {
    fill: none;
    stroke: #ccc;
    stroke-width: 1.5px;
}

.modal{
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
}
.modal-mask{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    opacity: 0.5;
}
.modal-bg{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
.modal-content{
    display: table;
    position: relative;
    height: 100%;
    width: 100%;
}
.modal-cell{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.modal-cell img{
    max-height: 95%;
}
.modal-code{
    display: none;
    margin: 0 auto !important;
}
.modal-close{
    display: inline-block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background-image: url("");
}

tspan{
    font-size: 14px;
}
text{
    dominant-baseline: middle;
}